-- GENERATED SPELL FOR [Furious Stone Spirit] --


function spell0_4035(pUnit, Event) --@Knockdown,n/a--
pUnit:FullCastSpellOnTarget(5164,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4035', 2000, 1)
end

function Sorts_4035(pUnit, Event)
local choix_sorts_4035 = math.random(0, 0)
if choix_sorts_4035 == 0 then
pUnit:RegisterEvent('spell0_4035', 1, 1)
end
end

function mob4035_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4035', math.random(1500, 3000), 1)
end

function mob4035_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4035_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4035_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4035, 1, 'mob4035_Action')
RegisterUnitEvent(4035, 2, 'mob4035_Leave')
RegisterUnitEvent(4035, 3, 'mob4035_Kill')
RegisterUnitEvent(4035, 4, 'mob4035_Die')
